-- Decompiled with the Synapse X Luau decompiler.

local M = _G.CommonOHOH.class.new(script);
function M.new(p1, p2, p3, ...)
	return M(p1, p2, p3, ...);
end;
function M.ctor(self, obj, del_fun, check_fun, ...)
	self.obj = obj;
	self.del_fun = del_fun;
	self.check_fun = check_fun;
	self.args = { ... };
end;
function M.dtor(self)

end;
function M.IsConnected(self)
	return self.check_fun(self.obj, table.unpack(self.args));
end;
function M.Disconnect(self)
	return self.del_fun(self.obj, table.unpack(self.args));
end;
return M;
